package com.aaa.hospital.ManagementEnd.mapper;

import com.aaa.hospital.ManagementEnd.pojo.Nurse;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Mapper
@Repository
public interface NurseDao {
    List<Nurse> queryAll();
    int update(Nurse nurse);
    int delete(int nurid);
    int insert(Nurse nurse);
    List<Nurse> selectN_id_Name(@Param("nurid") Integer nurid, @Param("name") String name);
}
